//
//  ViewController.m
//  ProjectDemo
//
//  Created by IOS3 on 2018/10/22.
//  Copyright © 2018 IOS3. All rights reserved.
//

#import "ViewController.h"
#import "Header.h"
#import "TestUserModel.h"
#import <MMKV.h>



@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    NSString *str = nil;
    NSDictionary *dic = @{
                          @"null" : NSNull.new,
                          @"arr"  : @[
                                  NSNull.new,
                                  NSNull.new,
                                  NSNull.new,
                                  ],
                          
                          };
    id a = dic[@"null"][@"sfsa"];
    id b = dic[@"null"][1];
    id c = dic[@"null"][5];
    
    
    
    DLog(@"打印");
    
    
    
    [UIColor R:180 G:200 B:200];

    NSDictionary *params = @{@"key" : @"00d91e8e0cca2b76f515926a36db68f5",
                             @"phone" : @"13594347817",
                             @"passwd" : @"123456",
                             };
    
    [APIRequest POST_default:@"/login" params:params complete:^(APIResponse * _Nonnull response) {

    }];
    
    [APIRequest GET_default:@"/login" params:params complete:^(APIResponse * _Nonnull response) {

    }];
    
 
    [APIRequest GET_default:API_test params:@{} complete:^(APIResponse * _Nonnull response) {
        
    }];
    
    
    [[MMKV defaultMMKV] setObject:@"s中文saf" forKey:@"etest"];
    DLog(@"%@", [[MMKV defaultMMKV] getObjectOfClass:[NSString class] forKey:@"etest"]);
    
    
    
    
}


@end
